package com.audaque.springboot.foshanupload.web.productdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

  import java.time.*;
  import com.fasterxml.jackson.annotation.JsonFormat;
  import org.springframework.format.annotation.DateTimeFormat;
 import com.baomidou.mybatisplus.annotation.*;

import io.swagger.v3.oas.annotations.media.Schema;


import lombok.*;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 规则
 * </p>
 *
 * @author zgb
 * @since 2024-04-22
 */
@Data
@Getter
@Setter
@Schema(name = "Rule", description = "规则")
public class Rule implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    @Schema(description = "从（时间戳）")
    private Long fromTimestamp;


    @Schema(description = "到（时间戳）")
    private Long toTimestamp;


    @Schema(description = "次数")
    private Long times;


    @Schema(description = "用户id")
    private String userId;

}
